var date =new Date
date.setFullYear(2024)
date.setMonth(7-1)
date.setDate(1)
var year=date.getFullYear()
var month=date.getMonth()
var day=date.getDate()
console.log(year+'年'+(month+1)+'月'+day+'日');